package org.dromara.hrp.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serial;

/**
 * 线索商机对象 hrp_lead
 *
 * @author wenrui
 * @date 2024-03-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hrp_lead")
public class HrpLead extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 线索ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 线索名称
     */
    private String name;

    /**
     * 客户id
     */
    private Long partnerId;

    /**
     * 归属销售
     */
    private Long salesId;

    /**
     * 客户来源
     */
    private String source;

    /**
     * 客户阶段
     */
    private String stage;

    /**
     * 失去原因
     */
    private String lostReason;

    /**
     * 下次跟单时间
     */
    private Date nextTime;

    /**
     * 备注
     */
    private String remark;


}
